# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

DESCRIPTION="red hat directory server builder."
HOMEPAGE="http://www.redhat.com/software/rha/directory/"
SRC_URI="http://directory.fedora.redhat.com/sources/${P}.tar.gz"
LICENSE="|| ( GPL-2 as-is )"
SLOT="0"
KEYWORDS="~x86"
IUSE="doc"

RDEPEND=">=dev-libs/glib-2.0.0
		 >=x11-libs/gtk+-2.3.0
		 >=dev-libs/gdl-0.5.0
		 doc? ( >=dev-util/gtk-doc-1 )"
DEPEND="${RDEPEND}
		dev-lang/perl
		dev-perl/XML-Parser
		sys-devel/gettext
		dev-util/pkgconfig"
S=${WORKDIR}/${PN}
DOCS="AUTHORS ChangeLog NEWS README TODO"

src_compile() {
	cd meta/ds
	emake || die "make failed"
}

src_install() {
	cd meta/ds
	make DESTDIR=${D} install || die "install failed"

}

